package cn.powertime.evaluation.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class WebReqPostingsCommentVo implements Serializable {

    @ApiModelProperty(value="帖子ID",name="id")
    @NotNull(message = "帖子ID不能为空")
    private Long id;
    @ApiModelProperty(value="评论内容",name="content")
    @NotNull(message = "评论内容不能为空")
    private String content;

}
